﻿using Ideaa.Data.Models.Base;
using System.Collections.Generic;

namespace Ideaa.Data.Models
{
    public class Idea : PostEntity
    {
        private ICollection<Suggestion> suggestions;

        public Idea() 
            : base()
        {
            this.Suggestions = new HashSet<Suggestion>();
        }

        public virtual ICollection<Suggestion> Suggestions
        {
            get
            {
                return this.suggestions;
            }
            protected set
            {
                this.suggestions = value;
            }
        }
    }
}